package com.cxh.supermarket.common.core.domain.wechat;

import java.io.Serializable;
import lombok.Data;

/**
 * 小程序登录响应模型
 *
 * @author zlj
 * @since 2023/3/3
 */
@Data
public class XcxGetPhoneResp implements Serializable {

    private static final long serialVersionUID = 1L;

    private int errcode;
    private String errmsg;
    private PhoneInfoBean phoneInfo;

    @Data
    public static class PhoneInfoBean implements Serializable {
        private String phoneNumber;
        private String purePhoneNumber;
        private int countryCode;
        private WatermarkBean watermark;

        @Data
        public static class WatermarkBean implements Serializable {
            private int timestamp;
            private String appid;
        }
    }
}
